package com.myapp.api.other_param;

import javax.validation.constraints.NotBlank;

public class RestPassword {
    @NotBlank(message = "旧密码密码不能为空")
    private String old_password;

    @NotBlank(message = "新的密码不能为空")
    private String new_password;

    @NotBlank(message = "再次输入的密码不能为空")
    private String repeat_password;

    public String getOld_password() {
        return old_password;
    }

    public void setOld_password(String old_password) {
        this.old_password = old_password;
    }

    public String getNew_password() {
        return new_password;
    }

    public void setNew_password(String new_password) {
        this.new_password = new_password;
    }

    public String getRepeat_password() {
        return repeat_password;
    }

    public void setRepeat_password(String repeat_password) {
        this.repeat_password = repeat_password;
    }
}
